package com.project.service;

import java.util.List;

import com.project.entity.Announcement;

public interface AnnouncementManager {
	public List<Announcement> getAllNews(Integer start, Integer end);
	
	public void insertAnnouncement(Announcement announcement);
	
	public void deleteById(Integer id);
	
	public Announcement findById(Integer id);
	
	public void updateAnnouncement(Announcement announcement);
	
	public List<Announcement> findByAuther(String autherName);
}
